import Vue from 'vue'
import App from './App.vue'
import router from './router'
//使用开发插件

//全局引入vant
import './plugins/vant'
//全局引入css初始化
import './assets/css/base.css'
import './assets/css/content.css'
//全局引入vue过滤器，内容：数字格式和时间戳转格式化时间文件
import * as filters from './assets/js/filters.js'
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
//v-for瞄点跳转
var VueScrollTo = require('vue-scrollto');
//使用开发分插件
import echarts from './plugins/echarts'
Vue.use(echarts)
//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper)
//
import axios from 'axios'
Vue.prototype.$axios = axios


Vue.use(VueScrollTo)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
